Component({
    properties: {
        app: {
            type: String,
            value: "site",
            observer: function(e) {
                this.setData({
                    app: e
                });
            }
        }
    },
    data: {
        app: ""
    },
    methods: {
        returnSiteIndex: function() {
            wx.switchTab({
                url: "/pages/index/index"
            });
        }
    }
});